package com.spring.statemachine.service;

import com.spring.statemachine.domain.Order;

/**
 * @author hulei
 * @date 2024/5/25 20:25
 */


public interface OrderService {
    void pay(Long id);

    void receive(Long id);

    Order create(Order order);

    void deliver(Long id);

    Order getById(Long id);

}
